package com.team.recruitment_management_system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.team.recruitment_management_system.pojo.dto.hr.AddHrInfoDto;
import com.team.recruitment_management_system.pojo.dto.hr.ChangeHrInfoDto;
import com.team.recruitment_management_system.pojo.dto.hr.HrPageQuery;
import com.team.recruitment_management_system.pojo.entity.Hr;
import com.team.recruitment_management_system.pojo.vo.HrInfoVo;
import com.team.recruitment_management_system.util.result.PageResult;
import com.team.recruitment_management_system.util.result.Result;

/**
* @author 86147
* @description 针对表【hr(HR表)】的数据库操作Service
* @createDate 2024-03-21 20:28:40
*/
public interface HrService extends IService<Hr> {
    Result<Void> addHrInfo(AddHrInfoDto addHrInfoDto);

    Result<Void> changeHrInfo(ChangeHrInfoDto changeHrInfoDto);

    Result<Void> deleteHrById(int hrId);

    PageResult<HrInfoVo> getHrInfoPage(HrPageQuery hrPageQuery);

    Result<HrInfoVo> getHrInfoById(int hrId);

    Result<HrInfoVo> getMyHrInfo(String token);

    Result<Integer> isHr(int id);
}
